package com.zeta.eduservice.controller.Rubbish;
//package com.zeta.eduservice.controller.question;
//
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.CrossOrigin;
//import org.springframework.web.bind.annotation.DeleteMapping;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.PutMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import org.springframework.web.bind.annotation.RestController;
//
//import com.zeta.commonutils.R;
//import com.zeta.eduservice.entity.vo.PaperAnswerVo;
//import com.zeta.eduservice.entity.vo.PaperVo;
//import com.zeta.eduservice.service.EduPaperAnswerService;
//
///**
// * <p>
// * 试卷答案 前端控制器
// * </p>
// *
// * @author zeta
// * @since 2020-08-16
// */
//@CrossOrigin
//@RestController
//@RequestMapping("/eduservice/edu_paper_answer")
//public class EduPaperAnswerController {
//	@Autowired
//	private EduPaperAnswerService paperAnswerService;
//	@PostMapping("")
//	public R addPaperAnswer(@RequestBody PaperAnswerVo paperAnswerVo) {
//		String savePaper = paperAnswerService.savePaperAnsewer(paperAnswerVo);
//		return R.ok();
//	}
//
//	@DeleteMapping("{id}")
//	public R deletePaperAnswer(@PathVariable String id) {
//		boolean removeById1 = paperAnswerService.removeByIdpaper(id);
//		if(removeById1)
//			return R.ok();
//		else 
//			return R.error();
//		
//	}
//	@PutMapping("")
//	public R updatePaperAnswer(@RequestBody PaperAnswerVo papervo) {
//		paperAnswerService.updatePaperAnswerForm(papervo);
//		return R.ok();
//		
//	}
//	@GetMapping("{id}")
//	public R getPaper( @PathVariable String id) {
//		PaperAnswerVo paper = paperAnswerService.getPaperAnswer(id);
// 
//		return R.ok().data("paper",paper);
//	}
//}
//
